<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>套哈杆</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #333;
        }

        .container {
            position: relative;
            width: 200px;
            height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .inner-box {
            width: 400px;
            height: 400px;
            /*border: 2px solid white;*/
            box-sizing: border-box;
        }

        .rotating-box {
            position: absolute;
            width: 400px;
            height: 400px;
            border: 2px solid rgba(255, 255, 255, 0.5);
            box-sizing: border-box;
            animation: rotate 5s linear infinite;
            transform-origin: center;
            z-index: -1;
            border-radius: 5px;
            background: transparent;
            box-shadow:
                    0 0 20px #ff0000,
                    0 0 40px #00ff00,
                    0 0 60px #0000ff,
                    0 0 80px #ffff00;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
    </style>
</head>
<body>
<div class="container">
    <div class="inner-box">
        <img style="width: 400px; height: 400px" src="image/img.png" alt="">
    </div>
    <div class="rotating-box"></div>
</div>
</body>
</html>
